package persistence

/*
type ArbitragePosition struct {
	Id          int    `orm:"auto"`
	Symbol      string `orm:"size(32)"`
	SpotCount   float64
	FutureCount float64
	SpotPrice   float64
	FuturePrice float64
}

func (ap *ArbitragePosition) TableName() string {
	return "arbitrage_position"
}

type SymbolExchangeInfo struct {
	Id                        int    `orm:"auto"`
	Symbol                    string `orm:"size(32)"`
	SpotLotPrecision          int
	SpotMarketLotPrecision    int
	SpotPricePrecision        int
	FuturesLotPrecision       int
	FuturesMarketLotPrecision int
	FuturesPricePrecision     int
}

func (si *SymbolExchangeInfo) TableName() string {
	return "symbol_exchange_info"
}
*/

type OKEXActivityInfo struct {
	Id      int    `orm:"auto"`
	Coin    string `orm:"size(32)"`
	SumHold float64
	MaxHold float64
	MinHold float64
	Period  int
	Rate    float64
}

func (ai *OKEXActivityInfo) TableName() string {
	return "okex_activity_info"
}

type OKEXStakingInfo struct {
	Id      int    `orm:"auto"`
	Coin    string `orm:"size(32)"`
	SumHold float64
	MaxHold float64
	MinHold float64
	Period  int
	Rate    float64
}

func (si *OKEXStakingInfo) TableName() string {
	return "okex_staking_info"
}

type FuturesInfo struct {
	Id     int    `orm:"auto"`
	Coin   string `orm:"size(32)"`
	System string `orm:"size(32);description(binance OR okex)"`
}

func (fi *FuturesInfo) TableName() string {
	return "futures_info"
}
